﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CookComputing.XmlRpc;

namespace VH.SharePoint.Api.Blogger
{
    public interface IBlogger
    {
        [XmlRpcMethod("blogger.getUsersBlogs", Description = "Returns information about all the blogs a given user is a member of. ")]
        Blog[] GetUsersBlogs(String appKey, String username, String password);
        [XmlRpcMethod("blogger.deletePost", Description = "Delete an existing post.")]
        [return: XmlRpcReturnValue(Description = "Return true.")]
        Boolean DeletePost(String appKey, Object postId, String username, String password, Boolean publish);
    }
}
